Skip to content

[FIX] formulas: add IFERROR second argument when exporting data#8761

Closed
fw-bot wants to merge 1 commit into
saas-18.3from
saas-18.3-17.0-formula_fix_iferror_arguments-anhe-528288-fw
Closed

[FIX] formulas: add IFERROR second argument when exporting data#8761
fw-bot wants to merge 1 commit into
saas-18.3from
saas-18.3-17.0-formula_fix_iferror_arguments-anhe-528288-fw

Conversation

@fw-bot

@fw-bot fw-bot commented May 20, 2026

Copy link
Copy Markdown
Collaborator

Description

In our implementation of the IFERROR formula, the second argument (value if error) is optionnal, defaulting to an empty string, which results to a 0 value in the cell when evaluated. In the excel documentation, the second argument of IFERROR is required leading to issue when exporting from spreadsheet a formula with IFERROR and then importing it to excel or Gsheet. This PR fixes this issue by adding a second argument whenn needed in the exporting process.

Related Task

Task: 5993405

review checklist

  • feature is organized in plugin, or UI components
  • support of duplicate sheet (deep copy)
  • in model/core: ranges are Range object, and can be adapted (adaptRanges)
  • in model/UI: ranges are strings (to show the user)
  • undo-able commands (uses this.history.update)
  • multiuser-able commands (has inverse commands and transformations where needed)
  • new/updated/removed commands are documented
  • exportable in excel
  • translations (_t("qmsdf %s", abc))
  • unit tested
  • clean commented code
  • track breaking changes
  • doc is rebuild (npm run doc)
  • status is correct in Odoo

Forward-Port-Of: #8756

Description

In our implementation of the IFERROR formula, the second argument
(value if error) is optionnal, defaulting to an empty string, which
results to a 0 value in the cell when evaluated. In the excel
documentation, the second argument of IFERROR is required leading
to issue when exporting from spreadsheet a formula with IFERROR and
then importing it to excel or Gsheet. This PR fixes this issue by
adding a second argument whenn needed in the exporting process.

Related Task

Task: 5993405
X-original-commit: 57e3404
@robodoo

robodoo commented May 20, 2026

Copy link
Copy Markdown
Collaborator

Pull request status dashboard

@fw-bot

fw-bot commented May 20, 2026

Copy link
Copy Markdown
Collaborator Author

This PR targets saas-18.3 and is part of the forward-port chain. Further PRs will be created up to master.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

robodoo pushed a commit that referenced this pull request May 21, 2026
Description

In our implementation of the IFERROR formula, the second argument
(value if error) is optionnal, defaulting to an empty string, which
results to a 0 value in the cell when evaluated. In the excel
documentation, the second argument of IFERROR is required leading
to issue when exporting from spreadsheet a formula with IFERROR and
then importing it to excel or Gsheet. This PR fixes this issue by
adding a second argument whenn needed in the exporting process.

Related Task

closes #8761

Task: 5993405
X-original-commit: 57e3404
Signed-off-by: Pierre Rousseau (pro) <pro@odoo.com>
@robodoo robodoo closed this May 21, 2026
@fw-bot fw-bot deleted the saas-18.3-17.0-formula_fix_iferror_arguments-anhe-528288-fw branch May 28, 2026 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants